{include file='public/header.html'}

<div class="container mtn">
	{include file='user/_top_nav.html'}

	<div class="panel panel-default mtn">
		<div class="panel-heading">
			修改资料<span class="pull-right"><a href="javascript:history.back(-1);">返回</a></span>
		</div>
		<div class="panel-body">
			<form class="form-horizontal submit-ajax" role="form" action="{:url('user/profile')}" method="post">
				<input type="hidden" name="id" value="{$vo.id}" />
				<div class="form-group">
					<label for="nickname" class="col-sm-2 control-label">*昵称</label>
					<div class="col-sm-10">
						<input type="text" id="nickname" name="nickname" class="form-control" style="width:auto;" placeholder="请输入昵称" value="{$vo.nickname}" />
					</div>
				</div>
				<div class="form-group">
					<label for="bio"  class="col-sm-2 control-label">格言</label>
					<div class="col-sm-10">
						<input type="text" id="bio" name="bio" class="form-control" style="width:auto;" placeholder="请输入格言" value="{$vo.bio}" />
					</div>
				</div>
				<div class="form-group">
					<label for="qq" class="col-sm-2 control-label">QQ</label>
					<div class="col-sm-10">
						<input type="text" id="qq" name="qq" class="form-control" style="width:auto;" placeholder="请输入QQ号" value="{$vo.qq}" />
					</div>
				</div>
				<div class="form-group">
					<label for="email" class="col-sm-2 control-label">邮箱</label>
					<div class="col-sm-10">
						<input type="text" id="email" name="email" class="form-control" style="width:auto;" placeholder="请输入邮箱" value="{$vo.email}" />
					</div>
				</div>
				<div class="form-group">
					<label for="mobile" class="col-sm-2 control-label">手机</label>
					<div class="col-sm-10">
						<input type="text" id="mobile" name="mobile" class="form-control" style="width:auto;" placeholder="请输入手机号" value="{$vo.mobile}" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">&nbsp;</label>
					<div class="col-sm-10">
						<input type="submit" value="修改" class="btn btn-primary" />
					</div>
				</div>
			</form>
		</div>
	</div>
</div>

{include file='public/footer.html'}
</body>
</html>